<template>
  <v-chart :option="option" autoresize :style="{ height: height }" />
</template>
<script>
import { ref, defineComponent } from 'vue';
import 'echarts';
import VChart from 'vue-echarts'

export default defineComponent({
  name: 'vecharts',
  components: {
    VChart
  },
  props: {
    height: {
      type: String,
      default: '500px'
    },
    option: Object
  },
  data () {
  }
});
</script>
